Skip to content

Drop two FarmEggs runner exemptions that no longer describe the repo - #15

Merged
thedancingdeveloper merged 1 commit into
mainfrom
drop-obsolete-farmeggs-exemptions
Nov 18, 2026
Merged

thedancingdeveloper merged 1 commit into
mainfrom
drop-obsolete-farmeggs-exemptions

Conversation

@thedancingdeveloper

@thedancingdeveloper thedancingdeveloper commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Why

Two gates are failing across every repository right now, and neither failure has anything to do with the PRs being failed.

runner-exceptions.json holds two FarmEggs/ci.yml entries that expired on 2026-11-17, and ci-standard/exemptions.yaml holds a graft CI-10 entry that expired on 2026-11-16. scripts/runner_policy.py exits non-zero on any expired entry, the reusable workflow loads that one shared file, and the auditor runs validate --fail-expired. So from 2026-11-18 every pull request in every calling repository failed runner-policy before anything was audited. Three secscan PRs (#102/#103/#104) are blocked by this; all three are compliant.

$ python3 scripts/runner_policy.py . --repo secscan --exceptions runner-exceptions.json
expired runner exception: FarmEggs/ci.yml expired 2026-11-17
exit=1

Why deleting rather than renewing

Each exemption's own reason says what to do when it stops applying, and in all three cases it has:

  • FarmEggs mobile no longer builds Android. The debug APK build is deferred to the mobile lane; the job runs the VM suites, analyze and format, and the workflow says at the step "No JDK/Android SDK: … do not build Android".
  • FarmEggs web installs Chrome itself (if ! command -v google-chrome), and Node is on the tailnet runners.
  • graft CI-10 says "Delete this entry when the ruleset says REBASE." The ruleset now reports merge_method: REBASE, grouping_strategy: ALLGREEN.

Both FarmEggs jobs select [self-hosted, tailnet], which is exactly what CI-05 wants, and graft's merge queue satisfies CI-10 on its own. There is nothing left to exempt.

What

Removes the entries from both homes:

  • runner-exceptions.json — read by the required runner-policy check
  • ci-standard/exemptions.yaml — the auditor's copy, "carried over from runner-exceptions.json"

Verification

  • python3 scripts/runner_policy.py . --repo secscan --exceptions runner-exceptions.json against secscan's tree: exit 0 ("ok: 2 workflow file(s) audited")
  • uv run ci-auditor validate --fail-expired: exit 0 — "ok: 24 rules, 9 runner classes, 476 exemptions"
  • python3 -m pytest tests -q at the root: 18 passed; uv run pytest -q in auditor/: 53 passed
  • ci-standard/exemptions.yaml and ci-standard/rules.yaml parse; no FarmEggs or graft CI-10 entries remain

Merge note

runner-policy-reusable.yml checks out the policy at ref: main, so this PR's own runner-policy check reads the old file and cannot pass until the fix is on main. It needs an operator merge/bypass; nothing in the diff is what the check is complaining about.

Not addressed

The blast radius itself: one repository's lapsed exemption failing every other repository's gate. Scoping the expired-entry check to the audited repository would be the durable fix, but it changes what the gate means, so it needs an operator decision and is raised separately rather than smuggled into this PR.

All three expired in the last two days and each one's own reason says what to
do when it stops applying:

- `FarmEggs/ci.yml` `mobile` (2026-11-17): the job no longer builds Android --
  the debug APK build moved to the mobile lane, and it now runs the VM suites,
  analyze and format, which need no JDK or Android SDK. The workflow says so
  at the step.
- `FarmEggs/ci.yml` `web` (2026-11-17): the job installs Chrome itself
  (`if ! command -v google-chrome`), and Node is on the tailnet runners.
- `graft` `CI-10` (2026-11-16): "Delete this entry when the ruleset says
  REBASE." The ruleset now says REBASE with ALLGREEN grouping.

All three jobs are `[self-hosted, tailnet]`, so CI-05 has nothing to exempt,
and graft's merge queue satisfies CI-10 on its own.

This is not cosmetic. An expired entry fails the whole gate for *every*
calling repository: the reusable workflow loads this one shared file and the
checker exits non-zero on any expired entry before it audits anything. From
2026-11-18 every pull request in every repository calling
`runner-policy-reusable.yml` was blocked -- secscan #102/#103/#104 failed
`runner-policy` while being entirely compliant -- and `ci-auditor validate
--fail-expired` failed the auditor job for the same reason.

Removed from both homes, `runner-exceptions.json` (the required check) and
`ci-standard/exemptions.yaml` (the auditor's copy), because the exemptions
should not exist at all rather than be renewed.

Not addressed here: the blast radius itself. One repository's lapsed exemption
failing every other repository's gate is arguably the real defect; scoping the
expired-entry check to the audited repository would change what the gate
means and needs an operator decision. Raised separately.
@thedancingdeveloper
thedancingdeveloper force-pushed the drop-obsolete-farmeggs-exemptions branch from 2a6daeb to e058e2a Compare November 18, 2026 04:16
@thedancingdeveloper
thedancingdeveloper merged commit 95b06a3 into main Nov 18, 2026
5 of 6 checks passed
@thedancingdeveloper
thedancingdeveloper deleted the drop-obsolete-farmeggs-exemptions branch November 18, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant